{% extends 'common/base.html' %}
{% load static %}
{% block stylesheet %}
    <link rel="stylesheet" href="{% static 'css/login.css' %}">
{% endblock %}
{% block title %} login {% endblock %}

{% block content %}
    <div class="login-from-div">
        <form action="login" method="post" class="form-control-lg" id="login-form">
            {% csrf_token %}

            <div class="form-group">
                {{ form.username.label_tag }} {{ form.username }}
            </div>

            <div class="form-group">
                {{ form.password.label_tag }}  {{ form.password }}
            </div>
{#            {{ form }}#}
            <input class="btn btn-lg btn-primary" type="submit" value="登录">
        </form>
    </div>
{% endblock %}